<?php
    session_start();
    require_once('ns_html.class.php');
    require_once('smallincludes.php');

    function checkLogin($requiredUserLevel)
    {
        if ($requiredUserLevel == 0)
        {
            return;
        }
        if (!isset($_SESSION['username']) || $_SESSION['username'] == "")
        {
            header("Location: authDenied.php");
        }
    }
?>